package com.impetus.project.skilltest.client.stub;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.impetus.project.skilltest.common.SkillTestException;
import com.impetus.project.skilltest.common.dataobject.Candidate;

@RemoteServiceRelativePath("security-service")
public interface SecurityService extends RemoteService
{
	public Candidate login(String userid, String password)
	throws SkillTestException;
	
	public void logout(Candidate candidate);
	
	public void addNewCandidate(Candidate candidate)
	throws SkillTestException;
	
}
